package model

type NewsAbstract struct {
	ID          int      `json:"id"`
	Title       string   `json:"title"`
	Type        int      `json:"type"`
	Media       []string `json:"media"`
	Channel     string   `json:"channel"`
	PublishTime string   `json:"publish_time"`
}

type News struct {
	ID          int    `json:"id"`
	Title       string `json:"title"`
	LikeCount   int    `json:"like_count"`
	Channel     string `json:"channel"`
	PublishTime string `json:"publish_time"`
	Content     string `json:"content"`
}

type NewsList struct {
	ID          int    `json:"id"`
	Title       string `json:"title"`
	Channel     string `json:"channel"`
	PublishTime string `json:"publish_time"`
}
